package com.designpatterns.factory.factory2.pizza.ny;


import com.designpatterns.factory.factory2.pizza.Pizza;

public class NYStyleCheesePizza extends Pizza {
    public NYStyleCheesePizza() {
        name = "NY Style Sauce and Cheese Pizza";
        dough = "Thin Crust Dough";
        sauce = "Marinara Sauce";

        toppings.add("Grated Reggiano Cheese");
    }

    @Override
    public void bake() {
        System.out.println("thans NY Style CheesePizza bake!");
    }
}
